home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / RKMLibsPrgs / samplelibrary / sampleinclude / samplebase.i < prev   
Text File  |  1992-09-03  |  2KB  |  65 lines

  1. * samplebase.i
  2. *
  3. ********************************************************************************************
  4. * definition of sample.library base
  5. *******************************************************************************************
  6. *
  7. *
  8. * Copyright (c) 1992 Commodore-Amiga, Inc.
  9. *
  10. * This example is provided in electronic form by Commodore-Amiga, Inc. for
  11. * use with the "Amiga ROM Kernel Reference Manual: Libraries", 3rd Edition,
  12. * published by Addison-Wesley (ISBN 0-201-56774-1).
  13. *
  14. * The "Amiga ROM Kernel Reference Manual: Libraries" contains additional
  15. * information on the correct usage of the techniques and operating system
  16. * functions presented in these examples.  The source and executable code
  17. * of these examples may only be distributed in free electronic form, via
  18. * bulletin board or as part of a fully non-commercial and freely
  19. * redistributable diskette.  Both the source and executable code (including
  20. * comments) must be included, without modification, in any copy.  This
  21. * example may not be published in printed form or distributed with any
  22. * commercial product.  However, the programming techniques and support
  23. * routines set forth in these examples may be used in the development
  24. * of original executable software products for Commodore Amiga computers.
  25. *
  26. * All other rights reserved.
  27. *
  28. * This example is provided "as-is" and is subject to change; no
  29. * warranties are made.  All use is at your own risk. No liability or
  30.  
  31.    IFND  SAMPLE_BASE_I
  32. SAMPLE_BASE_I SET 1
  33.  
  34.  
  35.    IFND  EXEC_TYPES_I
  36.    INCLUDE  "exec/types.i"
  37.    ENDC   ; EXEC_TYPES_I
  38.  
  39.    IFND  EXEC_LIBRARIES_I
  40.    INCLUDE  "exec/libraries.i"
  41.    ENDC   ; EXEC_LIBRARIES_I
  42.  
  43. ;--------------------------
  44. ; library data structures
  45. ;--------------------------
  46.  
  47. ;  Note that the library base begins with a library node
  48.  
  49.    STRUCTURE SampleBase,LIB_SIZE
  50.    UBYTE   sb_Flags
  51.    UBYTE   sb_pad
  52.    ;We are now longword aligned
  53.    ULONG   sb_SysLib
  54.    ULONG   sb_DosLib
  55.    ULONG   sb_SegList
  56.    LABEL   SampleBase_SIZEOF
  57.  
  58.  
  59. SAMPLENAME   MACRO
  60.       DC.B   'sample.library',0
  61.       ENDM
  62.  
  63.    ENDC  ;SAMPLE_BASE_I
  64.  
  65.